package com.mindskip.xzs.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.mindskip.xzs.domain.User;
import com.mindskip.xzs.viewmodel.IdNameKV;
import com.mindskip.xzs.viewmodel.admin.user.EmployeeReq;
import com.mindskip.xzs.viewmodel.admin.user.EmployeeRes;

import javax.servlet.http.HttpServletResponse;
import java.util.List;


public interface NewUserService extends IService<User> {
    PageInfo<EmployeeRes> queryUserList(EmployeeReq employeeReq);
    void exportUserList(EmployeeReq employeeReq, HttpServletResponse response);

    List<IdNameKV> queryUserKVListInCache(String keyword);
    List<IdNameKV> queryUserKVListForSearch(Long deptId, String keyword);
    void updateUserKVInCache();
}
